package nl.memedefense.level.ui;

import nl.memedefense.level.Tile;

/**
 * Concrete implementation of a {@link nl.memedefense.level.Tile}. A BuildableTile is a {@link
 * nl.memedefense.level.Tile} where the user is allowed to build {@link nl.memedefense.tower.Tower}s on.
 */
public class BuildableTile extends Tile {

    private int xCoordinate;
    private int yCoordinate;

    /**
     * Constructs a new BuildableTile with a given X and Y position.
     *
     * @param x The horizontal position of this tile on screen.
     * @param y The vertical position of this tile on screen.
     */
    public BuildableTile(int x, int y) {
        this.xCoordinate = x;
        this.yCoordinate = y;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public boolean isBuildable() {
        return true;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public int getXCoordinate() {
        return 0;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public int getYCoordinate() {
        return 0;
    }
}
